#include "VStdAfx.h"
#include "VMeshEntity.h"

VIMPL_CLASS_ABSTRACT(VMeshEntity, VSceneEntity, 0);

VMeshEntity::VMeshEntity(void):m_NumActiveController(0)
{

}


VMeshEntity::~VMeshEntity(void)
{
}

void VMeshEntity::OnControllerActived(VAnimationController* AnimationController)
{
	m_NumActiveController++;

}

void VMeshEntity::OnControllerDeactived(VAnimationController* AnimationController)
{
	m_NumActiveController--;
}


void VMeshEntity::Update(float DeltaTime)
{
	VSceneEntity::Update(DeltaTime);

}


BOOL VMeshEntity::Load(const VXMLElement* Element)
{
	if (!VSceneEntity::Load(Element))
	{
		return FALSE;
	}

	return TRUE;
}

void VMeshEntity::Save(VXMLElement* Element)
{

}